<?php
class Oldapitest_con extends Lxbase{
	public function index(){
		$token=$_GET["token"];
		$view = $this->viewdata("id","users","where token='{$token}'");
		$wxpost = '<xml><ToUserName><![CDATA[gh_7475143c992f]]></ToUserName><FromUserName><![CDATA[oTk4-wfWRuzby_6jY-ZIUCjFS2Zg]]></FromUserName><CreateTime>1448368897</CreateTime><MsgType><![CDATA[text]]></MsgType><Content><![CDATA['.$key.']]></Content><MsgId>6220697045559805962</MsgId></xml>';
		$ret = $this->call_post("?g=wx&m=apitest&u=".$view["id"],$wxpost);
		echo $ret;
	}

}